{{ extend './baseTpl.art' }}

{{ block 'navbar' }}
<div id="navbar" class="collapse navbar-collapse">
    <ul class="nav navbar-nav">
        <li><a href="/">你好，Express！</a></li>
        <li class="active"><a href="/student">学生管理</a></li>
        <li><a href="/board">留言板</a></li>
    </ul>
</div>
{{ /block }}

{{ block 'main' }}
<div class="jumbotron">
    <h2>注册新学生：</h2>
    <form action="/student/add" method="POST" class="form-horizontal" role="form">
        <div class="form-group">
            <label for="firstname" class="col-sm-2 control-label">姓名：</label>
            <div class="col-sm-10">
            <input type="text" class="form-control" name="name" placeholder="请输入名字">
            </div>
        </div>
        <div class="form-group">
            <label for="lastname" class="col-sm-2 control-label">年龄：</label>
            <div class="col-sm-10">
            <input type="text" class="form-control" name="age" placeholder="请输入年龄">
            </div>
        </div>
        <div class="form-group">
            <label for="lastname" class="col-sm-2 control-label">性别：</label>
            <div class="col-sm-10">
            <input type="text" class="form-control" name="sex" placeholder="请输入性别">
            </div>
        </div>
        <div class="form-group">
            <label for="lastname" class="col-sm-2 control-label">爱好：</label>
            <div class="col-sm-10">
            <input type="text" class="form-control" name="items" placeholder="请输入爱好">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">加入</button>
            </div>
        </div>
    </form>
</div>
{{ /block }}

